package com.example.todolist.mapper;

import com.baoming.myatis.core.mapper.BaseMapper;
import com.example.todolist.entity.Todo;
import org.ibatis.mappers.Mapper;

import java.util.List;

@Mapper
public interface TodoMapper extends BaseMapper<Todo, Long> {
    List<Todo> selectByUserId(Long userId);
}